<?php

$a = "$foo[]";